﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC22Controller
    /// </summary>
    public class VYC22Controller
    {
        private static VYC22BO _vyc22Bo;
        public VYC22Controller()
        {
            _vyc22Bo = new VYC22BO();
        }
        public List<ModelVYC22> GetAllList()
        {
            return _vyc22Bo.GetAllList();
        }
        public int AddData(ModelVYC22 model)
        {
            return _vyc22Bo.AddData(model);
        }
        public int EditData(ModelVYC22 model)
        {
            return _vyc22Bo.EditData(model);
        }
        public int DeleteData(ModelVYC22 model)
        {
            return _vyc22Bo.DeleteData(model);
        }
        public List<ModelVYC22> GetById(string id)
        {
            return _vyc22Bo.GetById(id);
        }
        public List<ModelVYC22> GetLimitAlbumForModule(int trangthai, string idalbumanh)
        {
            return _vyc22Bo.GetLimitAlbumForModule(trangthai, idalbumanh);
        }
    }
}